﻿#include "mainwidget.h"
#include <QApplication>
#include <QTextStream>

int main(int argc, char *argv[])
{
    QApplication a(argc, argv);

    QCoreApplication::setOrganizationName(QString("Songhuan"));
    QCoreApplication::setApplicationName(QString("ImageMerge"));

//    QFile file(":/qss/css/qss.css");
//    if (!file.open(QIODevice::ReadOnly))
//        exit(0);

//    QTextStream in(&file);
//    QString css = in.readAll();
//    qApp->setStyleSheet(css);

    MainWidget w;
    w.show();

    return a.exec();
}
